package com.baor.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@TableName("t_money")
public class MoneyVo {
    /** 余额变动 */
    @TableId(type = IdType.AUTO)
    private Integer moneyId;

    /** 会员信息(exist) */

    private String userName;

    /** 会员手机号(exist) */

    private String userTel;

    /** 发生时间(exist) */

    private String createTime;

    /** 变动金额 */

    private BigDecimal moneyChange;

    /** 剩余金额 */

    private BigDecimal moneyFinal;

    /** 会员编号 */

    private String userId;

    /** 账户类型(???) */

    private String accountType;

    /** 来源用途(exist) */

    private String moneySourceId;

    /** $column.columnComment */
    private String siteId;


    @TableField(exist = false)
    private String userImage;


    @TableField(exist = false)
    private String userAccount;


    private String moneyStatus;//CASE_MS 0 未 1 中 2 已

}
